
@protocol SinglePageViewDelegate;

@interface SinglePageView : UIView
{
    UIImageView *imageView;
}

@property (nonatomic, assign) id<SinglePageViewDelegate> delegate;
@property (nonatomic) NSUInteger index;
@property (nonatomic, strong) UIImage *image;

@end

@protocol SinglePageViewDelegate <NSObject>

- (void)didTapOnSinglePageWithIndex:(NSUInteger)index;

@end
